/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once


#include "面/几何模型生成.h"
#include "PxPhysicsAPI.h"
//#include "三角形.h"
#include "../../../../../面/面.h"

//typedef struct S_三角Mesh;

/*typedef struct {
	vec3 pointA;
	vec3 pointB;
	vec3 pointC;
}S_三角形;*/

physx::PxConvexMesh* f_Px_创建凸包碰撞网格(physx::PxPhysics* phy, physx::PxCooking* Cooking, const S_三角Mesh& mesh);

physx::PxTriangleMesh* f_Px_三角碰撞网格(physx::PxPhysics* phy, physx::PxCooking* Cooking, const S_三角Mesh& mesh, bool 动态 = true);







